package reflectPracticeDemo;

public class Student {

	public int age;
	private String name;
	public int Number;

	public Student() {

	}

	private Student(int age) {
		this.age = age;
	}
	
	public Student(int age, String Name, int Number) {
		this.age = age;
		this.name = name;
		this.Number = Number;
	}

	private Student(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getNumber() {
		return Number;
	}

	public void setNumber(int number) {
		Number = number;
	}

	@Override
	public String toString() {
		return "Student {age=" + age + ", name=" + name + ", Number=" + Number + "}";
	}

	public void methed1() {
		System.out.println("methed1");
	}
	
	public void methed2(String name) {
		System.out.println(name+"是大帅哥");
	}

	
	

}
